/*
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-15 23:54:14
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-15 23:54:26
 */
// 把对象转成query字符串
export const objToQueryString = (obj: object) => {
    let ret = ''
    for (let key in obj) {
        ret += `&${key}=${(obj as any)[key]}`
    }
    return ret
}